//
// Created by Administrator on 2020/8/6.
//
#include <iostream>

void display(std::string *str_list, int size) {
    for (int i = 0; i < size; ++i) {
        std::cout << str_list[i] << std::endl;
    }
}

int main() {

    using std::string;

    string str_list[] = {
            "str 1",
            "str 2"
    };

    display(str_list, 2);

    string str = "this is a string test";

    std::cout << str << std::endl;
}